package com.szm.feignserver.service;

import com.szm.feignserver.entity.User;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "userserver",fallback =UserServiceFallback.class )
public interface UserService {

    @RequestMapping("/test")
    User getUser();
}
